int* twoSum(int* nums, int numsSize, int target, int* returnSize){
    *returnSize = 2;
    int* ret = malloc(*returnSize*sizeof*ret);
    for(int i=0;i<numsSize-1;i++)
    {
        for(int n=i+1;n<numsSize;n++)
        {
            if(nums[i]+nums[n]==target)
            {
                ret[0]=i;
                ret[1]=n;
                return ret;
            }
        }
    }
    return 0;
}